package org.wd.db.jpa.model;

import java.io.Serializable;
import java.sql.Time;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class StationRouteInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String stationCode;
	private String trainNumber;
	private Time arrivalTime;
	private Time departureTime;
	private int stopTime;

	public StationRouteInfo(String stationCode, String trainNumber, Time arrivalTime, Time departureTime, int stopTime) {
		super();
		this.stationCode = stationCode;
		this.trainNumber = trainNumber;
		this.arrivalTime = arrivalTime;
		this.departureTime = departureTime;
		this.stopTime = stopTime;
	}

	public String getStationCode() {
		return stationCode;
	}

	public void setStationCode(String stationCode) {
		this.stationCode = stationCode;
	}

	public String getTrainNumber() {
		return trainNumber;
	}

	public void setTrainNumber(String trainNumber) {
		this.trainNumber = trainNumber;
	}

	public Time getArrivalTime() {
		return arrivalTime;
	}

	public void setArrivalTime(Time arrivalTime) {
		this.arrivalTime = arrivalTime;
	}

	public Time getDepartureTime() {
		return departureTime;
	}

	public void setDepartureTime(Time departureTime) {
		this.departureTime = departureTime;
	}

	public int getStopTime() {
		return stopTime;
	}

	public void setStopTime(int stopTime) {
		this.stopTime = stopTime;
	}
}
